home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 09 - 1993 / 09.06 Jun 93 / TReportPrinter / Demo.cp next >
Encoding:
Text File  |  1992-10-06  |  450 b   |  26 lines  |  [TEXT/MPS ]

  1. #include <MacApp.h>
  2. #include <UDialog.h>
  3. #include <GestaltEqu.h>
  4. #include <ToolUtils.h>
  5.  
  6. #include "TDemoApplication.h"
  7.  
  8. #pragma segment Main
  9. void main ()
  10. {
  11.     InitToolBox();
  12.     if (ValidateConfiguration(gConfiguration))
  13.     {
  14.         InitUMacApp(8);
  15.         InitUTEView();
  16.         InitUDialog();
  17.  
  18.         TDemoApplication *demoApplication = new TDemoApplication;    
  19.         demoApplication->IDemoApplication();
  20.         demoApplication->Run();
  21.     }
  22.     else
  23.         StdAlert(phUnsupportedConfiguration);
  24. }
  25.  
  26.